{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "node = [1,0,0; 0,1,0; 0,0,0; 0,0,1];\n",
    "elem = [1 2 3 4];\n",
    "localEdge = [1 2; 1 3; 1 4; 2 3; 2 4; 3 4];"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\u001b[0;31mError using eval\n",
      "Undefined function 'showmesh3' for input arguments of type 'double'.\n",
      "\n",
      "\u001b[0m"
     ]
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAjAAAAGkCAIAAACgjIjwAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA\nB3RJTUUH5AcXEyoQUlOBZwAAACR0RVh0U29mdHdhcmUATUFUTEFCLCBUaGUgTWF0aFdvcmtzLCBJ\nbmMuPFjdGAAAACJ0RVh0Q3JlYXRpb24gVGltZQAyMy1KdWwtMjAyMCAxMjo0MjoxNuTKE1EAAAZE\nSURBVHic7dUxAQAgDMCwgX/PQwY9EgX9enZ3AOC3+zsAAGYMCYAIQwIgwZAASDAkABIMCYAEQwIg\nwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAE\nQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIM\nCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAk\nABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAA\nSDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIg\nwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAE\nQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIM\nCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAk\nABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAA\nSDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIg\nwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAE\nQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIM\nCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAk\nABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAA\nSDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIg\nwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAE\nQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIM\nCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAk\nABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAA\nSDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIg\nwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAE\nQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIM\nCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAk\nABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAA\nSDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIg\nwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAE\nQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIMCYAEQwIgwZAASDAkABIM\nCYAEQwIg4QGxEwZFtUDTLwAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<IPython.core.display.Image object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "figure;\n",
    "showmesh3(node,elem);"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Matlab",
   "language": "matlab",
   "name": "matlab"
  },
  "language_info": {
   "codemirror_mode": "octave",
   "file_extension": ".m",
   "help_links": [
    {
     "text": "MetaKernel Magics",
     "url": "https://github.com/calysto/metakernel/blob/master/metakernel/magics/README.md"
    }
   ],
   "mimetype": "text/x-matlab",
   "name": "matlab",
   "version": "0.14.3"
  },
  "toc": {
   "colors": {
    "hover_highlight": "#DAA520",
    "navigate_num": "#000000",
    "navigate_text": "#333333",
    "running_highlight": "#FF0000",
    "selected_highlight": "#FFD700",
    "sidebar_border": "#EEEEEE",
    "wrapper_background": "#FFFFFF"
   },
   "moveMenuLeft": true,
   "nav_menu": {
    "height": "12px",
    "width": "252px"
   },
   "navigate_menu": true,
   "number_sections": true,
   "sideBar": true,
   "threshold": 4,
   "toc_cell": false,
   "toc_section_display": "block",
   "toc_window_display": false,
   "widenNotebook": false
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
